<template>
  <div>
    <el-button type="primary" @click="willAdd">添加</el-button>
    <v-list :flag="flag"></v-list>
    <v-form :flag="flag"></v-form>
  </div>
</template>
<script>
import vList from "./components/list.vue"
import vForm from "./components/form.vue"
import { mapGetters, mapActions } from "vuex";
import toggle from "../../mixins/addEdit";
export default {
  data() {
    return {};
  },
  mixins:[toggle],
  props: [],
  computed: {
    ...mapGetters({})
  },
  components: {vForm,vList},
  methods: {
    ...mapActions({})
  },
  mounted() {}
};
</script>
<style lang='less' scoped>
</style>